/*
   name: stealingfunc.c
    who: Jack Chen 2007.8.31
   what: pseudo code for stealing functions 
         
*/

rand_eq_stealing() //a function for stealing equipment
{
	ob = clone_object("a random eq from player"); //ob decleared as a random equipment in player
    ob->move(monster);//move the eq from player to mob
}

rand_wp_stealing() // a function for stealing weapon
{
    ob = clone_object("a random wp from player"); 
	ob->move(monster); 
}

rand_item_stealing() // a function for stealing item
{
    ob = clone_object("a random item from player"); 
	ob->move(monster); // move the item from player to mob
}
rand_money_stealing() // a function for stealing money
{
    this_player()->lose_money(player_money/10); // 10% of money lost by stealing 
}
    
	
	
	
	
	
	
	
	
	